﻿package rob.data{

	public class Vert3d extends Vect3d{
		public var wx:Number, wy:Number, wz:Number;
		public var sx:Number, sy:Number, shade:Number;
		public var cd:Number;
		
		public function Vert3d(ix:Number,iy:Number,iz:Number):void{
			super(ix,iy,iz);
			sx = sy = 0;
			wx = wy = wz = 0;
			// for gouraud shading
			shade = 0;
			cd = 0;
		}

		override public function clone(){
			return new Vert3d(x,y,z);
		}
		
		override public function toString():String{
			return "Vertex3d: ("+x+","+y+","+z+")";
		}
	}
}